package com.easychat.entity;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author 10 2024/10/5
 */
@Data
public class LoginUser implements Serializable {
    @NotEmpty
    private String checkCodeKey;
    @NotEmpty @Email
    private String email;
    @NotEmpty
    private String password;
    @NotEmpty
    private String checkCode;

}
